CC=g++
CFLAG=-Wall -Wextra -pedantic -ansi -Wmissing-declarations
FFLAG=-lSDLmain -lSDL -lSDL_image -lSDL_ttf
EXEC=../bin/formipachi
SRC=$(wildcard *.o)

all:$(SRC)
	cd ../src;make
	$(CC) -g $(CFLAG) -O3 -o $(EXEC) $^ $(FFLAG)

clean:
	rm -f *.o
	rm -f *~ \#*#